using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Net;

namespace Test.Support {
	class PtsInv {
		static void MainX() {
			WebClient wc=new WebClient();
			wc.Credentials=CredentialCache.DefaultCredentials;
			string[] lines=wc.DownloadString(@"http://ws-whs/report/pts.asp?day=2014-02-25&whs=X").Split('\n','\r');
			int lno=0;
			foreach(string line in lines)
			{
				string[] arr=line.Split(',');
				if(arr[6]=="=\"29\"")
					Console.WriteLine(lno);
				lno++;

			}

		}
	}
}
